package org.exez.modules.visitor.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.exez.modules.visitor.entity.Institution;
import com.baomidou.mybatisplus.extension.service.IService;
import org.exez.modules.visitor.entity.VisitorAccessre;

/**
 * @Description: 事业单位表
 * @Author: exez-boot
 * @Date:   2020-06-04
 * @Version: V1.0
 */
public interface IInstitutionService extends IService<Institution> {

    /**
     * 根据编码查找事业单位
     * @param code
     * @return
     */
    Institution getInstitutionByCode(String code);

    IPage<Institution> listInstitution(Page<Institution> page, LambdaQueryWrapper<Institution> queryWrapper);

    void saveUserQx(String userId , String institutionList);


}
